package xcmg.device.service.vo.agent;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import xcmg.device.service.vo.warehouse.app.EnableAndOccupyVO;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 服务借出单明细 VO类
 * @author huhuawei
 */
@Data
@ToString
public class ServiceBorrowOutDetailVO extends EnableAndOccupyVO implements Serializable{
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "删除传参ID")
    private List<String> listId;

    @ApiModelProperty(value = "ID"  )
    private String id;

    @ApiModelProperty(value = "借用单Id"  )
    private String borrowOutId;

    @ApiModelProperty(value = "借用单号"  )
    private String borrowOutNo;

    @ApiModelProperty(value = "序号"  )
    private Integer seqNo;

    @ApiModelProperty(value = "零件编码"  )
    private String materialsNo;

    @ApiModelProperty(value = "零件名称"  )
    private String materialsDes;

    @ApiModelProperty(value = "单位"  )
    private String unit;

    @ApiModelProperty(value = "借用数量"  )
    private BigDecimal quantity;

    @ApiModelProperty(value = "单价"  )
    private BigDecimal price;

    @ApiModelProperty(value = "出库数量"  )
    private BigDecimal outQuantity;

    @ApiModelProperty(value = "出库状态"  )
    private Integer status;

    @ApiModelProperty(value = "备注"  )
    private String remark;

    @ApiModelProperty(value = "已销售数量"  )
    private BigDecimal soldQuantity;


    @ApiModelProperty(value = "已退回数量"  )
    private BigDecimal returnedQuantity;

    @ApiModelProperty(value = "导入的行号"  )
    private Integer errorRow;

    @ApiModelProperty(value = "成本小计"  )
    private BigDecimal costSubtotal;

    @ApiModelProperty(value = "成本单价"  )
    private BigDecimal costPrice;

    @ApiModelProperty(value = "小计"  )
    private BigDecimal subtotalAmount;

    @ApiModelProperty(value = "转销售数量"  )
    private BigDecimal resaleQty;

    @ApiModelProperty(value = "可以转销售数量"  )
    private BigDecimal canResaleQty;

    @ApiModelProperty(value = "退回数量"  )
    private BigDecimal rollBackQty;

    @ApiModelProperty(value = "代理商零售价"  )
    private BigDecimal agentRetailPrice;

    @ApiModelProperty(value = "默认储位"  )
    private String locationCode;

    @ApiModelProperty(value = "默认储位"  )
    private String locationDesc;

    @ApiModelProperty(value = "库存储位"  )
    private String stockLocation;

}
